android-boot: Remove dependency on ostree= karg, use androidboot.slot_suffix=
authorEric Curtin <ecurtin@redhat.com>
Mon, 17 Jul 2023 12:22:49 +0000 (13:22 +0100)
committerEric Curtin <ecurtin@redhat.com>
Mon, 17 Jul 2023 12:22:49 +0000 (13:22 +0100)
commita6f0a5713443b93c4060991ffa16d58d62c27fa9
tree2e4ff277ded310c998dbc648712a1ad0e125828c
parent27a9fe30b34315e68bc30c69238721df0241c7c3
android-boot: Remove dependency on ostree= karg, use androidboot.slot_suffix=

Given the kernel argument androidboot.slot_suffix= is required in
Android AB updates [1] there is no need to check for ostree= or ostree=aboot
at all in the aboot case. This also ensures if the dependancy on ostree=
is removed, the android-boot technique will work regardless.

[1]: https://source.android.com/docs/core/ota/ab/ab_implement
src/switchroot/ostree-mount-util.h